package javaio;

import java.io.File;

public class FileDemo08 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		File f= new File("D:"+File.separator);
		File file[] = f.listFiles();
		for (int i = 0; i < file.length; i++) {
			System.out.println(file[i]);
		}

	}

}
